package com.heima.model.common.dtos;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

@Data
public class CommentSaveDTO {
    /**
     * 文章id
     */
    @NotNull
    private Long articleId;
    /**
     * 评论内容
     */
    @NotBlank
    @Size(max = 140)
    private String content;
}